package com.wisdytech.linkdcs.equipLifeCycle.malfunction.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dailibo
 * @since 2018-06-11
 */
@TableName("TT_EQ_M_PROCESS_RECORD")
public class MProcessRecord extends Model<MProcessRecord> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    @TableField("M_RECORD_ID")
    private String recordId;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("DEAL_DATE")
    private Date dealDate;
    @TableField("DEAL_USER")
    private String dealUser;
    @TableField("CAUSES_BELONG")
    private String causesBelong;
    @TableField("CAUSES_ANALYSIS")
    private String causesAnalysis;
    @TableField("RESOLVE_DESC")
    private String resolveDesc;
    @TableField("COMFIRM_FLAG")
    private String comfirmFlag;

    

    public String getComfirmFlag() {
		return comfirmFlag;
	}

	public void setComfirmFlag(String comfirmFlag) {
		this.comfirmFlag = comfirmFlag;
	}

	public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }


    public Date getDealDate() {
        return dealDate;
    }

    public void setDealDate(Date dealDate) {
        this.dealDate = dealDate;
    }

    public String getDealUser() {
        return dealUser;
    }

    public void setDealUser(String dealUser) {
        this.dealUser = dealUser;
    }

    public String getCausesBelong() {
        return causesBelong;
    }

    public void setCausesBelong(String causesBelong) {
        this.causesBelong = causesBelong;
    }

    public String getCausesAnalysis() {
        return causesAnalysis;
    }

    public void setCausesAnalysis(String causesAnalysis) {
        this.causesAnalysis = causesAnalysis;
    }

    public String getResolveDesc() {
        return resolveDesc;
    }

    public void setResolveDesc(String resolveDesc) {
        this.resolveDesc = resolveDesc;
    }
    
    

    public String getRecordId() {
		return recordId;
	}

	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}

	@Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "MProcessRecord{" +
        ", pkId=" + pkId +
        ", dealDate=" + dealDate +
        ", dealUser=" + dealUser +
        ", causesBelong=" + causesBelong +
        ", causesAnalysis=" + causesAnalysis +
        ", resolveDesc=" + resolveDesc +
        "}";
    }
}
